package com.mzj.saas.mservice.records.entity;

import com.mzj.saas.commons.IdEntity;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 信息备案记录表
 */
@Entity
@Table(name = "saas_house_put_records")
public class HousePutRecords extends IdEntity {
    @Basic
    @Column(name = "liability_number", nullable = true)
    private String liabilityNumber; //责任书序号

    @Basic
    @Column(name = "type", nullable = true)
    private Integer type; //类型：1公租房资格申请 2租房

    @Basic
    @Column(name = "house_id", nullable = true)
    private String houseId; //公租房id

    @Basic
    @Column(name = "match_user_id", nullable = true)
    private String matchUserId; //承租人

    @Basic
    @Column(name = "apply_id", nullable = true)
    private Long applyId; //申请id

    @Basic
    @Column(name = "status", nullable = true)
    private Integer status; //状态：0待确认 1已确认

    @Basic
    @Column(name = "signature_file", nullable = true)
    private String signatureFile; //签字文件

    @Basic
    @Column(name = "confirmor_id", nullable = true)
    private String confirmorId; //确认人

    @Basic
    @Column(name = "submit_time", nullable = true)
    private Date submitTime; //提交时间

    @Basic
    @Column(name = "confirm_time", nullable = true)
    private Date confirmTime; //确认时间

    public String getLiabilityNumber() {
        return liabilityNumber;
    }

    public void setLiabilityNumber(String liabilityNumber) {
        this.liabilityNumber = liabilityNumber;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }

    public String getMatchUserId() {
        return matchUserId;
    }

    public void setMatchUserId(String matchUserId) {
        this.matchUserId = matchUserId;
    }

    public Long getApplyId() {
        return applyId;
    }

    public void setApplyId(Long applyId) {
        this.applyId = applyId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getSignatureFile() {
        return signatureFile;
    }

    public void setSignatureFile(String signatureFile) {
        this.signatureFile = signatureFile;
    }

    public String getConfirmorId() {
        return confirmorId;
    }

    public void setConfirmorId(String confirmorId) {
        this.confirmorId = confirmorId;
    }

    public Date getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(Date submitTime) {
        this.submitTime = submitTime;
    }

    public Date getConfirmTime() {
        return confirmTime;
    }

    public void setConfirmTime(Date confirmTime) {
        this.confirmTime = confirmTime;
    }
}
